home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / include / scribus-ng / smalignselect.h < prev    next >
Encoding:
C/C++ Source or Header  |  2007-08-13  |  806 b   |  42 lines

  1. /*
  2. For general Scribus (>=1.3.2) copyright and licensing information please refer
  3. to the COPYING file provided with the program. Following this notice may exist
  4. a copyright and/or license notice that predates the release of Scribus 1.3.2
  5. for which a new license (GPL+exception) is in place.
  6. */
  7.  
  8. #ifndef SMALIGNSELECT_H
  9. #define SMALIGNSELECT_H
  10.  
  11. #include "alignselect.h"
  12.  
  13.  
  14. class SMAlignSelect : public AlignSelect
  15. {
  16.     Q_OBJECT
  17. public:
  18.     SMAlignSelect(QWidget *parent);
  19.     ~SMAlignSelect() {}
  20.  
  21.     void setStyle(int i);
  22.     void setStyle(int i, bool isParentValue);
  23.  
  24.     void setParentItem(int i);
  25.  
  26.     bool useParentValue();
  27.  
  28.     QToolButton *parentButton;
  29.  
  30. private:
  31.     bool   hasParent_;
  32.     bool   useParentStyle_;
  33.     int    pStyle_;
  34.     void setFont(bool wantBold);
  35.  
  36. private slots:
  37.     void styleChanged();
  38.     void pbPressed();
  39. };
  40.  
  41. #endif
  42.